//
//  responseResult.h
//  school
//
//  Created by wangweike on 15-1-13.
//  Copyright (c) 2015年 learnDrive. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef enum {
    FAILED,
    OK,
} Flag;
@interface responseResult : NSObject
@property(nonatomic,copy)NSString * erroMessage;//!<错误信息
@property(nonatomic,strong)id DataResult;   //!<网络返回结果
@property(nonatomic,assign)BOOL isCorrect; //!<本地网络是否有问题
@property(nonatomic,assign)Flag flag;//!<联网后的状态标识
-(id)initWithResult:(NSDictionary*)dic isCorrect:(BOOL)iscorrect;
@end
